import React, { useEffect } from 'react'
// import axios from '../../api/index'
import axios from 'axios'
function index() {
  const getdata=async()=>{
    const res=await axios.get('/article/list')
    console.log(res)
  }
  useEffect(()=>{
    getdata()
  },[])

  return (
    <div>
      
    </div>
  )
}

export default index
